﻿using MediatR;
using SC.GirdManage.Common;

namespace SC.GridManage.MN.API.Read.Application.Command
{
    /// <summary>
    /// 中介者的命令参数类,实现中介者提供的IRequest接口
    /// </summary>
    public class QueryArticalCommand:IRequest<ApiResult<ApiPaging<QueryArticalDTO>>> //ApiReulst==>ApiPaging ==> List<T>  (T:QueryArticalDTO)
    {
        /// <summary>
        /// 标题模糊查询:要加问号
        /// </summary>
       public string? Title {  get; set; }
        public int Index { get; set; } = 1;
        public int Size { get; set; } = 4;
    }
}
